package cn.wsalix.user.repository;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import cn.anlaser.repository.BasicRepository;
import cn.wsalix.user.entity.UserCenter;

public interface UserCenterRepository extends BasicRepository<UserCenter> {
	@Query("select u from UserCenter u where u.id = :userId")
	UserCenter findByUserIdOne(@Param("userId") Long userId);

}
